# $Id: PKGBUILD 141648 2011-11-01 09:57:08Z pierre $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-fonts-alias
pkgver=1.0.2
pkgrel=2
pkgdesc="X.org font alias files"
arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
source=("${url}/releases/individual/font/font-alias-${pkgver}.tar.bz2"
        'LICENSE')
md5sums=('9d40dba6fb8cb58dacb433fc7bcaafca'
         'ff91ae6d96d76130482d04653e7a836a')

build() {
  cd "${srcdir}/font-alias-${pkgver}"
  ./configure --prefix=/usr --with-fontrootdir=/usr/share/fonts
  make
}

package() {
  cd "${srcdir}/font-alias-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
